-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support ipv6 network #842
support ipv6 network #842
Conversation
Welcome @tydra-wang! It looks like this is your first PR to openyurtio/openyurt 🎉 |
@tydra-wang Very appreciate you for raising pull request to support IPV6 for OpenYurt. please fix golangci lint error. and you can run |
25435d1
to
20e67d0
Compare
|
5e6e0c8
to
cfe0d6e
Compare
@tydra-wang please rebase the newest master branch, and fix the conflicts. |
483bf62
to
309bfd9
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rambohe-ch, tydra-wang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind enhancement
What this PR does / why we need it:
We need to run openyurt on ipv6 network.
Current works makes yurt-tunnel and yurthub work well on ipv6 network.
yurt-tunnel-server
yurt-tunnel-agent
yurthub
fd00::2:1
as the default dummy if ip when binding an ipv6 address(yurthub still use 127.0.0.1 as default, set --bind-address to ::1 in ipv6 )use fd00::2:1 in ipv6, as the counterpart of 169.254.2.1 in ipv4, referring to node local dns cache ipv6 configuration.
other changes:
net.JoinHostPort
instead offmt.Sprintf("%s:%d", host, port)